from user import views
from django.urls import path
urlpatterns = [
    path('register/', views.UserRegister.as_view(), name='user'),
    path('userlogin/', views.UsernameLogin.as_view()),
    path('usercenter/', views.UserCenter.as_view()),
    path('send/', views.SendCode.as_view()),
    path('phonelogin/', views.PhoneLogin().as_view()),
    path('credit/', views.UserCredit.as_view())
]